package com.sailfish.springbootdemo.pojo.db1;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EmailRecord {

    private Integer emailId;
    private Integer emailResult;
    private String emailJson;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String failReason;

    public Integer getEmailId() {
        return emailId;
    }

    public void setEmailId(Integer emailId) {
        this.emailId = emailId;
    }

    public Integer getEmailResult() {
        return emailResult;
    }

    public void setEmailResult(Integer emailResult) {
        this.emailResult = emailResult;
    }

    public String getEmailJson() {
        return emailJson;
    }

    public void setEmailJson(String emailJson) {
        this.emailJson = emailJson;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }
}
